import request from "../request.js"
let method = {
	login: (data) => {
		return request({
			url: '/api/login/login',
			method: "POST",
			data: data,
			notToken:true
		})
	},
	sms: (data) => {
		return request({
			url: '/api/login/sms',
			method: "POST",
			data: data,
			notToken:true
		})
	},
	loginInfo: (data) => {
		return request({
			url: '/api/login/info',
			method: "POST",
			data: data
		})
	},
	news: (data) => {
		return request({
			url: '/api/index/news',
			method: "POST",
			data: data
		})
	},
	news_detail: (data) => {
		return request({
			url: '/api/index/news_detail',
			method: "POST",
			data: data
		})
	},
	indexLocation: (data) => {
		return request({
			url: '/api/index/index',
			method: "POST",
			notTips:true,
			data: data
		})
	},
	danmu: (data) => {
		return request({
			url: '/api/index/danmu',
			method: "POST",
			notTips:true,
			data: data
		})
	},
	dodanmu: (data) => {
		return request({
			url: '/api/index/dodanmu',
			method: "POST",
			data: data
		})
	},
	indexIntro: (data) => {
		return request({
			url: '/api/index/intro',
			method: "POST",
			data: data
		})
	},
	indexUser: (data) => {
		return request({
			url: '/api/index/user',
			method: "POST",
			notTips:true,
			data: data
		})
	},
	user_info: (data) => {
		return request({
			url: '/api/index/user_info',
			method: "POST",
			data: data
		})
	},
	yaoqing: (data) => {
		return request({
			url: '/api/index/yaoqing',
			method: "POST",
			data: data
		})
	},
	erweima: (data) => {
		return request({
			url: '/api/index/erweima',
			method: "POST",
			data: data
		})
	},
	about: (data) => {
		return request({
			url: '/api/index/about',
			method: "POST",
			data: data
		})
	},
	jingdian: (data) => {
		return request({
			url: '/api/index/jingdian',
			method: "POST",
			data: data
		})
	},
	shuoming: (data) => {
		return request({
			url: '/api/index/shuoming',
			method: "POST",
			data: data
		})
	},
}
export default method